#!/bin/bash
i=0
for file in `ls *.in`
do
	filelist[$i]="$file"
	((i++))
done
for value in ${filelist[*]}
do
	echo $value
	cp $value "test.in"
	time ./main
	rm "test.in"
	python3 checker.py ${value%in}"ans" "test.out"
done
